home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group98a.txt / 000126_icon-group-sender _Fri Mar 13 08:07:55 1998.msg < prev    next >
Internet Message Format  |  2000-09-20  |  3KB

  1. Return-Path: <icon-group-sender>
  2. Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
  3.     by baskerville.CS.Arizona.EDU (8.8.7/8.8.7) with SMTP id IAA23742
  4.     for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Fri, 13 Mar 1998 08:07:55 -0700 (MST)
  5. Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
  6.     id AA15832; Fri, 13 Mar 1998 08:07:54 -0700
  7. From: gep2@computek.net
  8. Date: Thu, 12 Mar 1998 21:28:03 -0600
  9. Message-Id: <199803130328.VAA31635@axp.cmpu.net>
  10. Mime-Version: 1.0
  11. Content-Type: text/plain
  12. Content-Transfer-Encoding: 7bit
  13. Subject: Re: Translation into C
  14. To: icon-group@optima.CS.Arizona.EDU
  15. X-Mailer: SPRY Mail Version: 04.00.06.17
  16. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  17. Status: RO
  18. Content-Length: 1803
  19.  
  20. >> I'd like to second the notion/motion that database extensions
  21. > would be far more useful than C or C++ code generation. Hooks
  22. > into Oracle, Sybase, Access, Foxpro etc,... would allow the
  23. > best features of the language to be applied to where the real
  24. > data is. I have kloojes setup where foxpro exports flat files
  25. > that icon churns and the output is imported into other databases.
  26. > It would surely be nicer to have one program do it all instead
  27. > of three (export - munge - import). 
  28.  
  29. > What language extensions do you have in mind?
  30. For the past year or so I've been using the Icon support for dynamic linking 
  31. of C functions (under sunos) to interface to the msql database.  Wrapping the 
  32. C API that is supplied with msql in a some higher-level icon modules makes 
  33. this setup quite convenient to use. I suppose embedding database support
  34. into the language might make some things easier to do but this setup is quite
  35. usable.  The Perl community do something similar and it seems to be working
  36. for them as well. (I'm not talking about built-in dbm-file support, which 
  37. Unicon has as well).
  38.  
  39. I'd like to see both multi-record functions (rather like database systems do so 
  40. well) as well as generators which would return consecutive/random/etc records 
  41. from the file, like Icon's lists, strings, etc.
  42.  
  43. This could actually be used to extend tables as well, where (for example) one 
  44. could perhaps have a generator which would return the elements of a table whose 
  45. keys matched some kind of a pattern.
  46.  
  47. > btw, does Windows icon support dynamic calling of functions in DLL's?
  48.  
  49. Dunno, there has been talk about adding DLL calls to S*BOL but as far as I'm 
  50. aware, it's only JUST talk.
  51.  
  52. Gordon Peterson
  53. http://www.computek.net/public/gep2/
  54. Support the Anti-SPAM Amendment!  Join at http://www.cauce.org/
  55.  
  56.